import java.util.Scanner; 

class CylinderVolume {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in); 
        System.out.print("请输入圆柱体的半径："); 
        double radius = sc.nextDouble(); 
        System.out.print("请输入圆柱体的长度："); 
        double length = sc.nextDouble(); 
        double area = Math.PI * radius * radius; 
        double volume = area * length; 
        System.out.printf("面积 = %.4f%n体积 = %.4f%n", area, volume);
        sc.close(); 
    } 
} 